package com.joker.orange.service;

import com.joker.common.core.domain.PageQuery;
import com.joker.common.core.page.TableDataInfo;
import com.joker.orange.domain.PlayRecord;
import com.joker.orange.domain.bo.PlayRecordBo;
import com.joker.orange.domain.vo.PlayRecordVo;

import java.util.Collection;
import java.util.List;

public interface IPlayRecordService {
    /**
     * 查询播放记录
     */
    PlayRecordVo queryById(Long id);
    PlayRecord queryPlayRecord(PlayRecordBo bo);

    /**
     * 查询播放记录列表
     */
    TableDataInfo<PlayRecordVo> queryPageList(PlayRecordBo bo, PageQuery pageQuery);

    /**
     * 查询播放记录列表
     */
    List<PlayRecordVo> queryList(PlayRecordBo bo);

    /**
     * 新增播放记录
     */
    Boolean insertByBo(PlayRecordBo bo);

    /**
     * 修改播放记录
     */
    Boolean updateByBo(PlayRecordBo bo);

    /**
     * 校验并批量删除播放记录信息
     */
    Boolean deleteWithValidByIds(List<Long> ids);
}
